package com.study;


public class GetMinNumber {
    public static void main(String[] args) {
        Demo05 d5 = new Demo05();
        double[] dArray = {12.9,53.54,75.0,99.1,3.14};
        double min = dArray[0];
        for(int i=0;i < dArray.length ; i++){
            min = d5.compareToGetmin(min, dArray[i]);
        };
        System.out.println("数组最小值为：" + min);
    }
}
